package jp.seraph.same.model;

import jp.seraph.jspf.pose.DefaultPose;
import jp.seraph.jspf.pose.Pose;

public class NullPoseModel implements PoseModel {
    private NullPoseModel() {
    }

    private static NullPoseModel INSTANCE = new NullPoseModel();

    public static NullPoseModel getInstance() {
        return INSTANCE;
    }

    public void addListener(PoseModelListener listener) {
    }

    public Pose createPose() {
        return new DefaultPose();
    }

    public int getJointCount() {
        return 0;
    }

    public JointModel getJointModel(int index) {
        return NullJointModel.getInstance();
    }

    public JointModel getJointModel(String jointName) {
        return null;
    }

    public JointModel getSelectedJointModel() {
        return NullJointModel.getInstance();
    }

    public String getSelectedJointName() {
        return "null";
    }

    public boolean removeListener(PoseModelListener listener) {
        return false;
    }

    public void selectJoint(String jointName) {
    }

    public void selectJoint(int index) {

    }

    /**
     * 
     * @see jp.seraph.same.model.PoseModel#setPose(jp.seraph.jspf.pose.Pose)
     */

    public void setPose(Pose aPose) {
    }

}
